import React from 'react';
import { Button, Result } from 'antd';
import 'antd/es/button/style/index';
import 'antd/es/result/style/index';
import icon from "./imgs/icon.png";

/**
 * 角色配置均删除情况下跳转页面
 * @returns
 */
export default function DrsNoRole() {
  return /*#__PURE__*/React.createElement(Result, {
    icon: /*#__PURE__*/React.createElement("img", {
      src: icon,
      title: "403"
    }),
    title: "403",
    subTitle: '对不起，您没有足够的权限访问页面',
    extra: /*#__PURE__*/React.createElement(Button, {
      type: "primary",
      onClick: function onClick() {
        window.dispatchEvent(new Event('tokenExpire'));
      }
    }, "\u8FD4\u56DE")
  });
}